package cn.stylefeng.guns.modular.business.service;

import cn.stylefeng.guns.modular.business.pojo.AttendanceRecord;
import cn.stylefeng.guns.modular.business.entity.AttendanceRecordRequest;
import cn.stylefeng.roses.kernel.auth.api.pojo.login.LoginUser;
import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

public interface AttendanceRecordService extends IService<AttendanceRecord> {

    void add(AttendanceRecordRequest attendanceRecordRequest);

    PageResult<AttendanceRecord> findPage(AttendanceRecordRequest attendanceRecordRequest);

    boolean attend(LoginUser loginUser);

    boolean abnormal(Long recordId);
}
